﻿@{
    Style.Require("Line20.DateTimeRangeField.FrontEnd.Style");
}

@if (@Model.ContentField.StartDateTime != DateTime.MinValue)
{ 
    <div class="text-field date-time-range"><span class="name">@Model.Model.DisplayName:</span> 
        <span>@Model.Model.StartDateTime</span>
        <span>-</span>
        <span>@Model.Model.GetFormattedEndDate()</span>
    </div>
}